package com.xiao.springmvc.util;

import java.util.Collection;

public class PageJsonUtil<T> {

	private int pageNo;
	private long total;
	private Collection<T> rows;
	
	public PageJsonUtil(int pageNo, long total, Collection<T> rows) {
		super();
		this.pageNo = pageNo;
		this.total = total;
		this.rows = rows;
	}
	public int getPageNo() {
		return pageNo;
	}
	public void setPageNo(int pageNo) {
		this.pageNo = pageNo;
	}
	
	public long getTotal() {
		return total;
	}
	public void setTotal(long total) {
		this.total = total;
	}
	public Collection<T> getRows() {
		return rows;
	}
	public void setRows(Collection<T> rows) {
		this.rows = rows;
	}
	
	
}
